<?php
/**
 *	KLF Framework
 *
 *	@author Kristian Oye <kristianoye@gmail.com> 
 *	@copyright (C) 2010-2011, Kristian Oye
 */
namespace KLF\System\Web\Routing
{
	/**
	 *  Class KMvcRouteHandler
	 *
	 *  The default route handler for most MVC calls
	 *
	 *  @package KLF\System\Web\Routing\RouteHandlers
	 *  @access public
	 *  @author Kristian Oye <kristianoye@gmail.com>
	 *  @since 0.1
	 *  
	 *  @method KMvcRouteHandler NewInstance
	 */
	class KMvcRouteHandler implements IRouteHandler
	{
		public function __construct()
		{
		}
		
		/**
		 * (non-PHPdoc)
		 * @see KLF\System\Web\Routing.IRouteHandler::GetHttpHandler()
		 */
		public function GetHttpHandler(KRouteContext &$context)
		{
			return new KMvcHandler($context);
		}
	}
}
